package com.thd.springboot.project.camundamanager.mapper;

import com.thd.springboot.project.camundamanager.entity.ProcDefEntity;
import com.thd.springboot.project.camundamanager.entity.ProcessInstanceEntity;
import com.thd.springboot.project.camundamanager.entity.ProcessInstanceTaskEntity;
import com.thd.springboot.project.camundamanager.entity.ProcessInstanceTaskHisEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CamundaMapper {
    public List<ProcDefEntity> queryProcessDef(ProcDefEntity condition);

    public List<ProcessInstanceTaskEntity> queryTask(ProcessInstanceTaskEntity condition);
    public List<ProcessInstanceTaskEntity> queryTaskHis(ProcessInstanceTaskEntity condition);
    public List<ProcessInstanceEntity> queryProcessInstance(ProcessInstanceEntity condition);
    public List<ProcDefEntity> queryAllProcDefKeyList();
}
